package com.heima.apis.admin;

import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmSensitive;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

//@FeignClient(value = "leadnews-wemedia")
public interface IAdminSensitiveClient {
    //--------------------------敏感词-----------------
    @PostMapping("/admin/api/v1/sensitive/save")
    ResponseResult addsensitive(@RequestBody WmSensitive wmSensitive);
    @PostMapping("/admin/api/v1/sensitive/list")
    ResponseResult getSensitiveList(@RequestBody SensitiveDto sensitiveDto);
    @PostMapping("/admin/api/v1/sensitive/update")
    ResponseResult updateSensitive(@RequestBody WmSensitive wmSensitive);
}
